package stats;

import java.util.Hashtable;;

public class CharStat {

	public static enum Asura {Stepper, Strider, DarkMagician, Sorcerer, 
		Assassin, ShadowHunter, ChaosMagician, Warlock, BattleSummoner}
	
	public static enum Deva {Guide, HolyWarrior, Cleric, Breeder, 
		Knight, Soldier, Priest, Bishop, SoulBreeder}
	
	public static enum Gaia {Rogue, Fighter, Kahuna, SpellSinger,
		Champion, Archer, BattleKahuna, Druid, Evoker}
	
	public static class jobNode{
		private jobNode parent = null;
		private jobNode child = null;
		private String name = null;
		
		jobNode(String name){
			this.name = name;
		}
		
		public String getName(){
			return this.name;
		}
		
		public void addParent(jobNode jobNode){
			this.parent = jobNode;
		}
		
		public jobNode getParent(){
			return this.parent;
		}
		
		public void addChild(String child){
			this.child = new jobNode(child);
		}
		
		public jobNode getChild(){
			return this.child;
		}
	}
	
	public enum EnumArmor {General, Warrior, Hunter, Magician, Summoner, 
		Helmet, Shield, Gloves, Boots, Mask, Cloak}
	
	public enum EnumWeapons {Axe1h, Axe2h, Bow2h, CrossBow2h, Dagger, Blunt1h, 
		Blunt2h, Spear2h, Staff1h, Staff2h, Sword1h, Sword2h}
	
	public enum EnumAccessories {Earring, Necklace, Ring, Bag, Belt}
	
	public static Hashtable<String, jobNode> getJobTree(){
		
		Hashtable<String, jobNode> table = new Hashtable<String, jobNode>();
		table.put("Stepper", new jobNode("Stepper"));
		table.put("Strider", new jobNode("Strider"));
		table.put("DarkMagician", new jobNode("DarkMagician"));
		table.put("Sorcerer", new jobNode("Sorcerer"));
		table.put("Assassin", new jobNode("Assassin"));
		table.put("ShadowHunter", new jobNode("ShadowHunter"));
		table.put("ChaosMagician", new jobNode("ChaosMagician"));
		table.put("Warlock", new jobNode("Warlock"));
		table.put("BattleSummoner", new jobNode("BattleSummoner"));
		table.put("Guide", new jobNode("Guide"));
		table.put("HolyWarrior", new jobNode("HolyWarrior"));
		table.put("Cleric", new jobNode("Cleric"));
		table.put("Breeder", new jobNode("Breeder"));
		table.put("Knight", new jobNode("Knight"));
		table.put("Soldier", new jobNode("Soldier"));
		table.put("Priest", new jobNode("Priest"));
		table.put("Bishop", new jobNode("Bishop"));
		table.put("SoulBreeder", new jobNode("SoulBreeder"));
		table.put("Rogue", new jobNode("Rogue"));
		table.put("Fighter", new jobNode("Fighter"));
		table.put("Kahuna", new jobNode("Kahuna"));
		table.put("SpellSinger", new jobNode("SpellSinger"));
		table.put("Champion", new jobNode("Champion"));
		table.put("Archer", new jobNode("Archer"));
		table.put("BattleKahuna", new jobNode("BattleKahuna"));
		table.put("Druid", new jobNode("Druid"));
		table.put("Evoker", new jobNode("Evoker"));
		
		
		table.get("Strider").addParent(table.get("Stepper"));
		table.get("DarkMagician").addParent(table.get("Stepper"));
		table.get("Sorcerer").addParent(table.get("Stepper"));
		table.get("Assassin").addParent(table.get("Strider"));
		table.get("ShadowHunter").addParent(table.get("Strider"));
		table.get("ChaosMagician").addParent(table.get("DarkMagician"));
		table.get("Warlock").addParent(table.get("DarkMagician"));
		table.get("BattleSummoner").addParent(table.get("Sorcerer"));
		table.get("HolyWarrior").addParent(table.get("Guide"));
		table.get("Cleric").addParent(table.get("Guide"));
		table.get("Breeder").addParent(table.get("Guide"));
		table.get("Knight").addParent(table.get("HolyWarrior"));
		table.get("Soldier").addParent(table.get("HolyWarrior"));
		table.get("Priest").addParent(table.get("Cleric"));
		table.get("Bishop").addParent(table.get("Cleric"));
		table.get("SoulBreeder").addParent(table.get("Breeder"));
		table.get("Fighter").addParent(table.get("Rogue"));
		table.get("Kahuna").addParent(table.get("Rogue"));
		table.get("SpellSinger").addParent(table.get("Rogue"));
		table.get("Champion").addParent(table.get("Fighter"));
		table.get("Archer").addParent(table.get("Fighter"));
		table.get("BattleKahuna").addParent(table.get("Kahuna"));
		table.get("Druid").addParent(table.get("Kahuna"));
		table.get("Evoker").addParent(table.get("Evoker"));
		
		return table;	
	}
	

	//Hash Table It key string
	public static void main(String args[]){
		System.out.println(12*(-1));
	}
}
